{
  "bundles": [
    {
      "@type": "NXBundle",
      "artifactId": "nuxeo-runtime-metrics",
      "artifactVersion": "10.10",
      "bundleGroup": {
        "@type": "NXBundleGroup",
        "bundleIds": [
          "org.nuxeo.connect.standalone",
          "org.nuxeo.launcher.commons",
          "org.nuxeo.osgi",
          "org.nuxeo.runtime",
          "org.nuxeo.runtime.aws",
          "org.nuxeo.runtime.datasource",
          "org.nuxeo.runtime.jtajca",
          "org.nuxeo.runtime.kv",
          "org.nuxeo.runtime.management",
          "org.nuxeo.runtime.metrics",
          "org.nuxeo.runtime.migration",
          "org.nuxeo.runtime.mongodb",
          "org.nuxeo.runtime.nuxeo-runtime-deploy",
          "org.nuxeo.runtime.pubsub",
          "org.nuxeo.runtime.redis",
          "org.nuxeo.runtime.reload",
          "org.nuxeo.runtime.stream"
        ],
        "hierarchyPath": "/grp:org.nuxeo.runtime",
        "id": "grp:org.nuxeo.runtime",
        "name": "org.nuxeo.runtime",
        "parentIds": [],
        "readmes": [],
        "version": "10.10"
      },
      "bundleId": "org.nuxeo.runtime.metrics",
      "components": [
        {
          "@type": "NXComponent",
          "componentClass": "org.nuxeo.runtime.metrics.MetricsServiceImpl",
          "documentation": "\n    Define CodeHale Metrics configuration.\n  \n",
          "documentationHtml": "<p>\nDefine CodeHale Metrics configuration.\n</p><p></p>",
          "extensionPoints": [
            {
              "@type": "NXExtensionPoint",
              "componentId": "org.nuxeo.runtime.metrics.MetricsService",
              "descriptors": [
                "org.nuxeo.runtime.metrics.MetricsDescriptor"
              ],
              "documentation": "\n\n      The default configuration use metrics.* framework properties but\n      you can override the configuration using a EP like this:\n\n      <extension\n    point=\"configuration\" target=\"org.nuxeo.runtime.metrics.MetricsService\">\n    <metrics>\n        <graphiteReporter enabled=\"true\" host=\"graphite.server.name\"\n            periodInSecond=\"20\" port=\"2003\" prefix=\"servers.${hostname}.nuxeo.\"/>\n        <csvReporter enabled=\"true\" outputDir=\"${metrics.csv.dir}\" periodInSecond=\"10\"/>\n        <log4jInstrumentation enabled=\"true\"/>\n        <tomcatInstrumentation enabled=\"true\"/>\n    </metrics>\n</extension>\n\n\n\n      Since 9.3, you can filter the list of metrics reported to Graphite. The ones enabled can be\n      defined with the metrics.graphite.allowedMetrics property and the ones ignored with the\n      metrics.graphite.deniedMetrics property.\n\n      About the allowed metrics, if a metric name starts with any item of this list, then it will be reported.\n      The 'ALL' value means that every metrics will be reported.\n      About the denied metrics, if a metric name starts with any item of this list, then it will be ignored\n      (unless it is part of the allowed metrics). The 'ALL' value means that every metrics will be ignored.\n\n      These properties can be overridden with the previous extension point like this:\n\n      <graphiteReporter\n    enabled=\"true\" host=\"graphite.server.name\" periodInSecond=\"20\"\n    port=\"2003\" prefix=\"servers.${hostname}.nuxeo.\">\n    <allowedMetrics>\n        <metric>nuxeo.cache.user-entry-cache</metric>\n        <metric>nuxeo.cache.group-entry-cache</metric>\n    </allowedMetrics>\n    <deniedMetrics>\n        <metric>nuxeo.cache</metric>\n        <metric>nuxeo.directories</metric>\n    </deniedMetrics>\n</graphiteReporter>\n",
              "documentationHtml": "<p>\nThe default configuration use metrics.* framework properties but\nyou can override the configuration using a EP like this:\n</p><p>\n\n\n\n\n\n\n\n\n</p><p>\nSince 9.3, you can filter the list of metrics reported to Graphite. The ones enabled can be\ndefined with the metrics.graphite.allowedMetrics property and the ones ignored with the\nmetrics.graphite.deniedMetrics property.\n</p><p>\nAbout the allowed metrics, if a metric name starts with any item of this list, then it will be reported.\nThe &#39;ALL&#39; value means that every metrics will be reported.\nAbout the denied metrics, if a metric name starts with any item of this list, then it will be ignored\n(unless it is part of the allowed metrics). The &#39;ALL&#39; value means that every metrics will be ignored.\n</p><p>\nThese properties can be overridden with the previous extension point like this:\n</p><p>\n\n\nnuxeo.cache.user-entry-cache\nnuxeo.cache.group-entry-cache\n\n\nnuxeo.cache\nnuxeo.directories\n\n</p>",
              "hierarchyPath": "/grp:org.nuxeo.runtime/org.nuxeo.runtime.metrics/org.nuxeo.runtime.metrics.MetricsService/ExtensionPoints/org.nuxeo.runtime.metrics.MetricsService--configuration",
              "id": "org.nuxeo.runtime.metrics.MetricsService--configuration",
              "label": "configuration (org.nuxeo.runtime.metrics.MetricsService)",
              "name": "configuration",
              "version": "10.10"
            }
          ],
          "extensions": [],
          "hierarchyPath": "/grp:org.nuxeo.runtime/org.nuxeo.runtime.metrics/org.nuxeo.runtime.metrics.MetricsService",
          "name": "org.nuxeo.runtime.metrics.MetricsService",
          "requirements": [
            "org.nuxeo.runtime.management.ServerLocator"
          ],
          "resolutionOrder": 832,
          "services": [
            {
              "@type": "NXService",
              "componentId": "org.nuxeo.runtime.metrics.MetricsService",
              "hierarchyPath": "/grp:org.nuxeo.runtime/org.nuxeo.runtime.metrics/org.nuxeo.runtime.metrics.MetricsService/Services/org.nuxeo.runtime.metrics.MetricsService",
              "id": "org.nuxeo.runtime.metrics.MetricsService",
              "overriden": false,
              "version": "10.10"
            },
            {
              "@type": "NXService",
              "componentId": "org.nuxeo.runtime.metrics.MetricsService",
              "hierarchyPath": "/grp:org.nuxeo.runtime/org.nuxeo.runtime.metrics/org.nuxeo.runtime.metrics.MetricsService/Services/com.codahale.metrics.MetricRegistry",
              "id": "com.codahale.metrics.MetricRegistry",
              "overriden": false,
              "version": "10.10"
            }
          ],
          "startOrder": 972,
          "version": "10.10",
          "xmlFileContent": "<?xml version=\"1.0\"?>\n<component name=\"org.nuxeo.runtime.metrics.MetricsService\">\n\n  <documentation>\n    Define CodeHale Metrics configuration.\n  </documentation>\n\n  <service>\n    <provide interface=\"org.nuxeo.runtime.metrics.MetricsService\" />\n    <provide interface=\"com.codahale.metrics.MetricRegistry\" />\n  </service>\n\n  <require>org.nuxeo.runtime.management.ServerLocator</require>\n  \n  <implementation class=\"org.nuxeo.runtime.metrics.MetricsServiceImpl\" />\n\n  <extension-point name=\"configuration\">\n    <documentation>\n      The default configuration use metrics.* framework properties but\n      you can override the configuration using a EP like this:\n\n      <extension target=\"org.nuxeo.runtime.metrics.MetricsService\" point=\"configuration\">\n      <metrics>\n        <graphiteReporter enabled=\"true\" periodInSecond=\"20\"\n          host=\"graphite.server.name\" port=\"2003\" prefix=\"servers.${hostname}.nuxeo.\"/>\n        <csvReporter enabled=\"true\" periodInSecond=\"10\" outputDir=\"${metrics.csv.dir}\" />\n        <log4jInstrumentation enabled=\"true\" />\n        <tomcatInstrumentation enabled=\"true\" />\n      </metrics>\n      </extension>\n\n      Since 9.3, you can filter the list of metrics reported to Graphite. The ones enabled can be\n      defined with the metrics.graphite.allowedMetrics property and the ones ignored with the\n      metrics.graphite.deniedMetrics property.\n\n      About the allowed metrics, if a metric name starts with any item of this list, then it will be reported.\n      The 'ALL' value means that every metrics will be reported.\n      About the denied metrics, if a metric name starts with any item of this list, then it will be ignored\n      (unless it is part of the allowed metrics). The 'ALL' value means that every metrics will be ignored.\n\n      These properties can be overridden with the previous extension point like this:\n\n      <graphiteReporter enabled=\"true\" periodInSecond=\"20\" host=\"graphite.server.name\" port=\"2003\"\n        prefix=\"servers.${hostname}.nuxeo.\">\n        <allowedMetrics>\n          <metric>nuxeo.cache.user-entry-cache</metric>\n          <metric>nuxeo.cache.group-entry-cache</metric>\n        </allowedMetrics>\n        <deniedMetrics>\n          <metric>nuxeo.cache</metric>\n          <metric>nuxeo.directories</metric>\n        </deniedMetrics>\n      </graphiteReporter>\n\n    </documentation>\n    <object class=\"org.nuxeo.runtime.metrics.MetricsDescriptor\" />\n  </extension-point>\n\n</component>\n",
          "xmlFileName": "/OSGI-INF/runtime-metrics-service.xml",
          "xmlPureComponent": false
        }
      ],
      "fileName": "nuxeo-runtime-metrics-10.10.jar",
      "groupId": "org.nuxeo.runtime",
      "hierarchyPath": "/grp:org.nuxeo.runtime/org.nuxeo.runtime.metrics",
      "id": "org.nuxeo.runtime.metrics",
      "location": "",
      "manifest": "Manifest-Version: 1.0\r\nArchiver-Version: Plexus Archiver\r\nCreated-By: 1.6.0_20 (Sun Microsystems Inc.)\r\nBuilt-By: jenkins\r\nBuild-Jdk: 1.8.0_191\r\nBundle-ManifestVersion: 2\r\nBundle-Version: 10.10-t20190121-104051\r\nExport-Package: org.nuxeo.runtime.metrics\r\nBundle-ActivationPolicy: lazy\r\nBundle-Category: runtime\r\nBundle-Name: org.nuxeo.runtime.metrics\r\nBundle-RequiredExecutionEnvironment: JavaSE-1.6\r\nNuxeo-Component: OSGI-INF/runtime-metrics-service.xml\r\nBundle-SymbolicName: org.nuxeo.runtime.metrics;singleton:=true\r\n\r\n",
      "maxResolutionOrder": 832,
      "minResolutionOrder": 832,
      "packages": [],
      "readme": {
        "blobProviderId": "default",
        "content": "# About nuxeo-runtime-metrics\n\n\nSince Nuxeo 5.7 Coda Hale Yammer Metrics is used to add metrics to Nuxeo.\nThis module is here to configure the metrics reporter and add\ndefault metrics.\n\nFor testing you can run a graphite/grafana stack using the provided [docker compose](./docker/graphite-grafana):\n```bash\ncd ./docker/graphite-grafana\ndocker-compose up -d\n``` \n\nThen configure your `nuxeo.conf` to report metrics and restart Nuxeo:\n```bash\nmetrics.graphite.enabled=true\nmetrics.graphite.host=localhost\nmetrics.graphite.port=2003\nmetrics.graphite.period=30\nmetrics.tomcat.enabled=true\nmetrics.log4j.enabled=true\n```\n\nAccess Grafana using [http://localhost:3000](http://localhost:3000) with user: admin pwd: admin,\nyou should have a Nuxeo Grafana dashboard up and running.\n\nGraphite is also reachable [http://localhost:8000](http://localhost:8000) \n\nTo stop Grafana (loosing all data):\n```bash\ndocker-compose down\n```\n\nFor production you should use different retentions and docker volumes to persist data.\n\n\nYou can also find old example of json graphite dashboard [graphite](./graphite) directory. \nTo use it from Graphite Dashboard > Edit Dashboard, paste the content\n\n\nSee <http://doc.nuxeo.org/> for full documentation.\nSee <http://metrics.codahale.com/> for Metrics documentation.\n",
        "digest": "585af835099cb31ce58e2417e5a61c59",
        "encoding": "UTF-8",
        "length": 1285,
        "mimeType": "text/plain",
        "name": "README.md"
      },
      "requirements": [],
      "version": "10.10"
    }
  ],
  "creationDate": 1664793571025,
  "key": "Nuxeo Platform LTS 2019-10.10",
  "name": "Nuxeo Platform LTS 2019",
  "operations": [],
  "packages": [],
  "pluginSnapshots": {},
  "releaseDate": 1547942400000,
  "version": "10.10"
}